package com.hongxin.nw.netty.model.packing;

import com.hongxin.nw.netty.utils.FieldPack;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

/**
 * @remark 应用服务数据单元 7.4.3类型标识103：C_CS_NA_1
 * @author: GuoXiaolin
 * @date 2019/5/16 17:58
 * @Version 1.0
 * @Descibe
 */
@Slf4j
@Getter
@Setter
public class ASDUccsna1{

    private String time2a ;//在7.2.6中定义	七个八位组二进制时间

    public void setTime2a(String time2a) {
        this.time2a = FieldPack.caseTime(time2a);
    }

    public String getHexData(){
        return this.time2a;
    }

    @Override
    public String toString() {
        return "ASDUccsna1{" +
                "time2a='" + time2a + '\'' +
                '}';
    }
}
